/**
 * Created by 李柏霖
 * 2020/10/19 17:37
 */

package com.lbl.VO;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Result {
    private int code;//编码 404 200
    private String msg;//提示信息
    private Object data; //数据

    public static Result init(int code,String msg,Object data){
        Result result = new Result(code, msg, data);
        return result;
    }
}
